<%@ page language="java" contentType="text/html; charset=UTF-8"  pageEncoding="UTF-8"%>
<%@ taglib uri="/tld/dictionary" prefix="dictionary"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ taglib prefix="form" uri="http://www.springframework.org/tags/form" %>
<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt" %>
<%@ taglib uri="/tld/dictionary" prefix="dictionary"%>
<c:set var="ctx" value="${pageContext.request.contextPath}"/>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<link rel="stylesheet" href="${ctx}/static/css/demopage.css">
<title> 债券计算核心规则类调试画面</title>
</head>
<form:form action="${ctx}/testcalcloan/core_calc_rules_new" modelAttribute="testCalcLoanValue">
	<font color="red"><h4>本页参数全为必填项,否则回抛异常!本界面为测试界面没有做页面验证.</h4></font>
	<h1>本页面主要功能：用坦总最新计算债权公式计算CF与PV值</h1>
	*约定交割日期:<input id="appDate" name="appDate" value="${testCalcLoanValue.appDate}"/>格式(2012-04-01)<br>
	*债权ID:<input id="loandID" name="loandID" value="${testCalcLoanValue.loandID}"/> (取页面债权ID)<br>
	*债权对应RATE:<input id="irr" name="irr" value="${testCalcLoanValue.irr}"/> (根据债权ID去核心表查询该笔债权RATE)<br>
	CF值:<input id="cf" name="cf" value="${testCalcLoanValue.cf}"/><br>
	PV值：<input id="pv" name="pv" value="${testCalcLoanValue.pv}"/><br>
	<input type="submit" value="提交"/><input type="button" value="返回" onclick="history.back();"/>
</form:form>